import { Router } from 'vue-router'

export default class System {
    /**
     * 路由
     */
    static router: Router

    /**
     * 获取当前路由地址
     */
    static getPath =()=>{
        return System.router.currentRoute.value.path
    }

    /**
     * 路由列表
     */
    static routerList: any[] = []

    /**
     * 跳转路由
     */
    static push = (path: string): any => {
        System.router.push(path)
    }


}
